package com.roadjava.rbac.service;

import com.roadjava.rbac.bean.entity.IndexRes;
import com.roadjava.rbac.bean.req.resource.AddResParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface IndexResService {

    String uploadFile(MultipartFile file) throws IOException;

    List<IndexRes> getAllFiles();

    String deleteFile(Integer fileId) throws IOException;

    String addRes(AddResParam param);

    List<IndexRes> getResByType(Integer type);


}
